package com.ai.bitcoin.contrab.handler;

import com.ai.bitcoin.init.SpringContext;
import com.ai.bitcoin.service.MakeHtmlService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class MakeReportHtmlHandle implements Job{

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        MakeHtmlService makeHtmlService = (MakeHtmlService) SpringContext.getBean("makeHtmlService");
        makeHtmlService.generateReport();
    }
}
